<?php
/**
 * Created by PhpStorm.
 * User: 012
 * Date: 2016/5/30
 * Time: 16:03
 */
ini_set('date.timezone','Asia/Shanghai');
set_time_limit(0);// 通过set_time_limit(0)可以让程序无限制的执行下去
include_once "db/init.php";
$M = new M();
$sql = "SELECT `id`,`zan_num`,`zan_limit` FROM love_share";
$list = $M->FetchAll($sql);
var_dump($list);